<?
/**
 * <b>FlatShippingPreferencesType Class</b>
 * Published 04/11/2010 19:01:51
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('FlatShippingRateOptionCodeType.php');
require_once('InsuranceOptionCodeType.php');
require_once('FlatRateInsuranceRangeCostType.php');
require_once('AmountType.php');

class FlatShippingPreferencesType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var AmountType $AmountPerAdditionalItem
	public $AmountPerAdditionalItem;
	// @var AmountType $DeductionAmountPerAdditionalItem
	public $DeductionAmountPerAdditionalItem;
	// @var FlatRateInsuranceRangeCostType $FlatRateInsuranceRangeCost
	public $FlatRateInsuranceRangeCost;
	// @var FlatShippingRateOptionCodeType $FlatShippingRateOption
	public $FlatShippingRateOption;
	// @var InsuranceOptionCodeType $InsuranceOption
	public $InsuranceOption;
 /** End Properties **/

/**
 *
 * @return AmountType
 */
	function getAmountPerAdditionalItem(){
		return $this->AmountPerAdditionalItem;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAmountPerAdditionalItem($value){
		$this->AmountPerAdditionalItem = $value;
	}


/**
 *
 * @return AmountType
 */
	function getDeductionAmountPerAdditionalItem(){
		return $this->DeductionAmountPerAdditionalItem;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDeductionAmountPerAdditionalItem($value){
		$this->DeductionAmountPerAdditionalItem = $value;
	}


/**
 *
 * @return FlatRateInsuranceRangeCostType
 */
	function getFlatRateInsuranceRangeCost(){
		return $this->FlatRateInsuranceRangeCost;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setFlatRateInsuranceRangeCost($value){
		$this->FlatRateInsuranceRangeCost = $value;
	}


/**
 *
 * @return FlatShippingRateOptionCodeType
 */
	function getFlatShippingRateOption(){
		return $this->FlatShippingRateOption;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setFlatShippingRateOption($value){
		$this->FlatShippingRateOption = $value;
	}


/**
 *
 * @return InsuranceOptionCodeType
 */
	function getInsuranceOption(){
		return $this->InsuranceOption;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setInsuranceOption($value){
		$this->InsuranceOption = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("FlatShippingPreferencesType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"AmountPerAdditionalItem"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DeductionAmountPerAdditionalItem"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"FlatRateInsuranceRangeCost"=>
					array(
						"required"=>false,
						"type"=>"FlatRateInsuranceRangeCostType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..6"
					),
				"FlatShippingRateOption"=>
					array(
						"required"=>false,
						"type"=>"FlatShippingRateOptionCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"InsuranceOption"=>
					array(
						"required"=>false,
						"type"=>"InsuranceOptionCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
